package com.amsp.oa.oademo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDate;

/**
 * 外部联络函VO类
 */
@Data
@ApiModel("外部联络函VO")
public class ExternalContactLetterVO {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("收件人单位")
    private String toUnit;

    @ApiModelProperty("发件人")
    private String fromSender;

    @ApiModelProperty("收件人")
    private String recipients;

    @ApiModelProperty("发文日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate issueDate;

    @ApiModelProperty("副本抄送")
    private String cc;

    @ApiModelProperty("编号")
    private String letterNumber;

    @ApiModelProperty("主题")
    private String subject;

    @ApiModelProperty("传真")
    private String fax;

    @ApiModelProperty("分机")
    private String ext;
}